package club.fuwenhao.handler;

import club.fuwenhao.netty.BaseNettyClient;

import java.io.IOException;

/**
 * @program: fwh-netty
 * @description: fwh专属客户端
 * @author: fwh
 * @date: 2021-10-28 10:09
 **/
public class FwhNettyClient extends BaseNettyClient {

    /**
     * 初始化连接服务端
     *
     * @param
     * @return void
     * @author fuwenhao
     * @date 2021/10/28 10:33 上午
     */
    public boolean init() throws IOException, InterruptedException {
        super.setBaseNettyClientHandler(new FwhNettyClientHandler());
        return super.start();
    }

}
